<?php
/*========================================= JooSam =========================================/
/																							/
/	Extention:		JooSam																	/
/	Created by:		ScriptPlanet.eu															/
/	Site:			http://www.scriptplanet.eu												/
/	Email:			support@scriptplanet.eu													/
/	Support:		http://www.scriptplanet.eu/support										/
/	Copyright:		2011 (c) ScriptPlanet.eu												/
/	License:		CC BY-NC-ND 3.0 ~ http://creativecommons.org/licenses/by-nc-nd/3.0/		/
/	File Version:	0001																	/
/																							/
/========================================== JooSam ========================================*/
// Joomla security
defined('_JEXEC') or die;

class jsamCssWork extends jsamMain{

	public function rowbgcolor($color){

		$conf = $this->requestconf();
		
		$colora = '#'.$conf['colora'];
		$colorb = '#'.$conf['colorb'];
		$colorc = '#'.$conf['colorc'];

		if($color == 'colora'){
			return $colora;
		}
		else if($color == 'colorb'){
			return $colorb;
		}
		else if($color == 'colorc'){
			return $colorc;
		}
		else{
			return false;
		}
	}
}